package edu.tum.cs.i1.pse;

public class EnterpriseEncryption extends Encryption {
	
	public EnterpriseEncryption() {
		currentCipher = new Caesar();
	}

	@Override
	public String encryptWord(String w, byte k) {
		if(k < 10) {
			System.err.println("Key can not be less than 10 !");
			System.exit(0);
		}
		return currentCipher.encryptWord(w, k);
	}

	@Override
	public String decryptWord(String w, byte k) {
		return currentCipher.decryptWord(w, k);
	}

}
